<html>

<head>
	<meta charset="utf-8">
	<title>蜘蛛机器人系统</title>
	<link rel="stylesheet" href="{{url_for('static', filename='loaders.min.css')}}">
	<link rel="stylesheet" href="{{url_for('static', filename='animate.css')}}">
	<link rel="stylesheet" href="{{url_for('static', filename='mui.css')}}">
	<link rel="stylesheet" href="{{url_for('static', filename='my.css')}}">
	<script src="{{url_for('static', filename='jquery.min.js')}}"></script>
	<script src="{{url_for('static', filename='loaders.css.js')}}"></script>
	<script src="{{url_for('static', filename='my.js')}}"></script>
	<script>
		init();
	</script>
</head>

<body>
	<div class='head' id='head'>
		<div class='title'>网络蜘蛛机器人系统</div>
	</div>
	<div class='func'>
		<div class='mui-textfield'>
			<input type='text' id='url' name='url' style='width: 200px;float: left;margin-right: 10px;' placeholder="ujn.edu.cn">
			<input type='text' id='deep' name='deep' style='width: 50px;margin-left: 20px;float: left;' placeholder="2">&nbsp;
层
		</div>
		<center>
		<input type='button' id='button' style='float:left;' class='mui-btn--danger mui-btn mybutton' onclick="exec()" value="执行">
		</center>
	</div>
	<br /><hr />
	<div class='body' id='body'>
		<div class='info mui-panel'>
		{%if not tablelist %}
			<div class='panelerror'>系统没有表</div>
		{%else%}
			{%for i in tablelist%}
				<a href="list?tablename={{i['name']}}" target="_blank"><button class='mui-btn itembutton'><b>{{i['name']}}</b><p>{{i['time']}}</p></button></a>
			{%endfor%}
		{%endif%}
		</div>
	</div>
	<div class='foot' id='foot'>
		2012级张聪毕业设计
	</div>
	
	<div class='mui-panel ExecPanel' id='exec'>
		<div class='loader-inner line-scale-pulse-out loading' id='loading'></div>
		<h3 style="text-align:center;margin-top:30px;">正在执行</h3>
	</div>
</body>
</html>